package com.beiye.drivertransport.utils;

import android.view.View;
import android.view.animation.AlphaAnimation;

public class AnimationUtil {


    /**
     * 闪屏动画效果
     * @param view
     */
    public void setAlphaAnimation(View view) {
        AlphaAnimation alphaAnimation = new AlphaAnimation(0.0f, 1.0f);
        alphaAnimation.setDuration(3000);
        view.startAnimation(alphaAnimation);
    }
}
